package com.woniu.permissions.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("account")
@ApiModel("账号对象")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
     * 管理员账号表
     */
    @ApiModelProperty(name = "accountId",value = "账号id")
    @TableId(value = "account_id", type = IdType.AUTO)
    private Integer accountId;
    /*
     * 昵称
     */
    @ApiModelProperty("昵称")
    @TableField("account_nickname")
    private String accountNickname;
    /*
     * 用户名
     */
    @ApiModelProperty("用户名")
    @TableField("account_name")
    private String accountName;
    /*
     * 密码
     */
    @ApiModelProperty(name = "accountPass",value = "密码")
    @TableField("account_pass")
    private String accountPass;

    /*
     * 账号
     */
    @ApiModelProperty(name = "accountPhone",value = "账号")
    @TableField("account_phone")
    private String accountPhone;

    /*
     * 状态 0 可用 1 删除 2 禁用
     */
    @ApiModelProperty(name = "accountState",value = "状态 0 可用 1 删除 2 禁用")
    @TableField("account_state")
    private Integer accountState;


}
